package com.testfileupload.uploadimg.design.template.hummer;

public class HummerModel2 extends HummerModel{
    @Override
    protected void start() {
        System.out.println("悍马2启动");
    }

    @Override
    protected void stop() {
        System.out.println("悍马2停止");
    }

    @Override
    protected void alerm() {
        System.out.println("悍马2鸣笛");
    }

    @Override
    protected void enginBoom() {
        System.out.println("悍马2引擎声");
    }

    //默认没有喇叭
    @Override
    protected boolean isAlerm() {
        return false;
    }
}
